﻿using System;
using System.ComponentModel.DataAnnotations;
using Nop.Core.Domain.Logistics;
using Nop.Core.Domain.Shipping;
using System.Collections.Generic;
using System.Linq;
using Telerik.Web.Mvc;
using Nop.Web.Framework.Mvc;
using Nop.Admin.Models.Common;

namespace Nop.Admin.Models.Logistics
{

    public class LogisticsPlanListModel
    {
        public LogisticsPlanListModel()
        {
            AvailablePlanStatus = Enum.GetValues(typeof(PlanStatus)).Cast<PlanStatus>().ToList();
            AvailablePlanStatusStrings = new List<string>();
        }

        [UIHint("DateNullable")]
        public DateTime? StartDate { get; set; }

        [UIHint("DateNullable")]
        public DateTime? EndDate { get; set; }

        public GridModel<LogisticsPlanModel> Plans { get; set; }

        public List<PlanStatus> AvailablePlanStatus { get; set; }
        public List<string> AvailablePlanStatusStrings { get; set; }
        public int[] SelectedPlanStatus { get; set; }

    }
}
